package com.qidianit.mes.pro.mapper;

import com.qidianit.mes.pojo.pro.ProductionOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductionOrderMapper {
    List<ProductionOrder> selectList( @Param("order") ProductionOrder order,
                                      @Param("materialName") String materialName);

    ProductionOrder queryByCode(@Param("id") Long id);

    int add(ProductionOrder productionOrder);

    int updateById(ProductionOrder productionOrder);

    int deleteById(Long id);

}
